<?php


namespace app\common\validate;

use think\Validate;

class Over extends Validate
{
    protected $rule=[
        'phone|手机/账号' => 'require|length:11|regex:/^[1][3456789][0-9]{9}$/'
    ];
    protected $message=[
        'phone.require'             =>  '手机必须填写',
        'phone.regex'               =>  '联系电话格式不正确',
    ];

}